package tianxinyi.rbac.domain.entity;

public class User extends BaseEntity {

    public String username;

    public String name;

    public String mobile;

    public String email;

    public int deptId;

    public int roleId;

    public boolean enabled = true;

    public User() {
    }

    public User(int id, String username, String name, String mobile, String email, int deptId, int roleId) {
        super(id);
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
